package com.example.w8job06.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@TableName("trade")
public class Order implements Serializable {

    private static final long serialVersionUID = -1L;

    @TableId(value = "id")
    private  Long id;

    private String tradeNo;

    private Long userId;

    private Long payment;

    private Byte paymentType;

    private Byte status;

    private Date paymentTime;

    private Date closeTime;

    private Date createTime;

    private Date updateTime;

}
